<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>

		<title>写信</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
	</head>

	<body>
		<form action="sendMess.shtml" method="post" name="f1">
			<table width="80%" align="center" border="1">
				<tr>
					<th colspan="7">
						写信 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<a href="inTake.shtml">返回首页</a>
					</th>
				</tr>
				<tr align="center">
					<td>
						标题
					</td>
					<td>
						<input type="text" name="title">
					</td>
				</tr>
				<tr align="center">
					<td>
						内容
					</td>
					<td>
						<textarea rows="5" cols="50" name="contexts"></textarea>
					</td>
				</tr>
				<tr align="center">
					<td>
						接收人：
					</td>
					<td>
						<c:forEach var="v" items="${emps}">
							<label>
								<input type="checkbox" name="receiveIds" value="${v.empId}">
								${v.empName}
							</label> &nbsp;&nbsp;
					</c:forEach>
					</td>
				</tr>
				<tr align="center">
					<td colspan="2">
						<input type="submit" value="发送">
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
